package com.bw.demo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.bw.demo.base.BaseActivity
import com.bw.demo.databinding.ActivityMainBinding

class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun initData() {
        mDataBinding.bott.itemIconTintList=null
        val navHostFragment =supportFragmentManager.findFragmentById(R.id.fragmentContainerView)
        as NavHostFragment
        val navController = navHostFragment.navController
        mDataBinding.bott.setupWithNavController(navController)
    }

    override fun initView() {

    }

    override fun getLyoutId(): Int {
        return R.layout.activity_main
    }

}